package com.kun.springsecurity.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author zhoukun
 * @Date 2021/2/15 21:42
 */
public interface MyService {
    //判断是否有权限
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
